package model;

import java.util.Date;

import javax.persistence.Id;

import com.googlecode.objectify.*;

public class ChatPlus {
	@Id Long id;
	Key<UserProfile> fromUser;
	Key<UserProfile> toUser;
	Date createtime;
	
	public ChatPlus() {};
	public ChatPlus(String from, String to) {		
		fromUser = new Key<UserProfile>(UserProfile.class, from);
		toUser = new Key<UserProfile>(UserProfile.class, to);		
		createtime = new Date();
	}		
}
